package com.honour.busserver.backup.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("bus_back_config")
public class BusBackConfig implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private String jobName;

    private String month;

    private String week;

    private String time;

    @TableField(exist = false)
    private String[] dbs;

    private String db;

    private String location;

    @TableField("`purge`")
    private String purge;

    private Integer reserved;

    private String cron;
}
